﻿
using System.Web.Security;
using System.Web;
using Foothill.Model;

namespace Foothill.Service.UserAccount
{
    public interface IAuthenticationService
    {
        AuthenticationResult AuthenticateUser(string email, string password, out CurrentLoginUser loginUser, out string error);

        AuthenticationResult AuthenticateUsingTempPassword(string email, string tempPassword, out CurrentLoginUser loginUser, out string error);

        string CreateEncryptedAuthenticationTicket(string email);

        HttpCookie GetAuthenticationCookieForSignOut();
    }
}
